#include "car.h"

CAR::CAR()
{

}


void CAR::UpDataPos(QImage* map)
{
    camera.GetPos(posX,posY,posTheata);
    camera.ScanMap(map);
    pathPlan.GetCamerView(camera.scanImage,camera.height,camera.width);
    pathPlan.CalNextPoint(posX,posY,posTheata,speed);
}
